package org.example.service;

import org.example.bean.Orderdetail;
import org.example.bean.Orders;

import java.util.List;

public interface OrdersService {
    //添加订单
    public Orders addOrder(Orders orders);
    //多表查询，根据状态查询订单详情信息
    public List<Orders> findUnfinishedOrder(Integer order_status1);

    //根据订单id修改订单状态
    public boolean updateOrderStatus(Integer orderId, Integer orderStatus);


    //根据id查询订单信息，多表查询
    public List<Orders> findOrderById(Integer order_id);


    public void order(Integer id);


}
